from aiogram import Dispatcher

from .admin_cmd import admin_main_router
from .inline import router as inline_router
from .admin_config import dp as config_dp
from .admin_seat import dp as seat_dp
from .admin_category import dp as category_dp
from .admin_product import dp as product_dp
from .admin_consumable import dp as consumable_dp
from .admin_work_seat import router as work_seat_router
from .stat import dp as statistics_dp
from .work_with_shift import router as work_shift_router


def setup(main_dp: Dispatcher):
    main_dp.include_router(admin_main_router)
    main_dp.include_router(inline_router)
    main_dp.include_router(config_dp)
    main_dp.include_router(seat_dp)
    main_dp.include_router(category_dp)
    main_dp.include_router(product_dp)
    main_dp.include_router(consumable_dp)
    main_dp.include_router(work_seat_router)
    main_dp.include_router(statistics_dp)
    main_dp.include_router(work_shift_router)
